﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace FeaturePlusInWeb.Model
{
    public class FeaturedPlusTemplet
    {
        private int id;
        /// <summary>
        /// 自增长列ID
        /// </summary>
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private int fid;

        /// <summary>
        /// 上一级ID
        /// </summary>
        public int Fid
        {
            get { return fid; }
            set { fid = value; }
        }
        private string keyname;

        /// <summary>
        /// 唯一标识符
        /// </summary>
        public string Keyname
        {
            get { return keyname; }
            set { keyname = value; }
        }
        private string name;

         /// <summary>
         /// 推荐位名称
         /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string description;

        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        private string templete;

        /// <summary>
        /// 模版
        /// </summary>
        public string Templete
        {
            get { return templete; }
            set { templete = value; }
        }
        private string templetedata;

        /// <summary>
        /// 模版数据
        /// </summary>
        public string Templetedata
        {
            get { return templetedata; }
            set { templetedata = value; }
        }
        private string datatype;

        /// <summary>
        /// 模版类型
        /// </summary>
        public string Datatype
        {
            get { return datatype; }
            set { datatype = value; }
        }
        private int titlemaxsize;

        /// <summary>
        /// 标题最大长度
        /// </summary>
        public int Titlemaxsize
        {
            get { return titlemaxsize; }
            set { titlemaxsize = value; }
        }
        private int datamaxsize;

        /// <summary>
        /// 最多显示数据条数
        /// </summary>
        public int Datamaxsize
        {
            get { return datamaxsize; }
            set { datamaxsize = value; }
        }
        private string htmlshow;

        /// <summary>
        /// 最终展示数据
        /// </summary>
        public string Htmlshow
        {
            get { return htmlshow; }
            set { htmlshow = value; }
        }
        private string isauto;

        /// <summary>
        /// 是否自动位（默认不是）
        /// </summary>
        public string Isauto
        {
            get { return isauto; }
            set { isauto = value; }
        }
        //private string autosql;

        ///// <summary>
        ///// 自动位SQL语句
        ///// </summary>
        //public string Autosql
        //{
        //    get { return autosql; }
        //    set { autosql = value; }
        //}
        private string lastupdateuser;

        /// <summary>
        /// 最后更新数据的用户
        /// </summary>
        public string Lastupdateuser
        {
            get { return lastupdateuser; }
            set { lastupdateuser = value; }
        }
        private DateTime lastupdatetime;

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime Lastupdatetime
        {
            get { return lastupdatetime; }
            set { lastupdatetime = value; }
        }

        private string signpic;

        public string Signpic
        {
            get { return signpic; }
            set { signpic = value; }
        }
    }
}
